<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>new user</title>
        <link href="../../script/seminar.css" rel="stylesheet">
        <script type="text/javascript">
            function fnSubmit() {
                document.newUserForm.method = 'POST';
                document.newUserForm.action = '../../logic/addUser.php';
                document.newUserForm.submit();
            }
            function fnKembali() {
                document.newUserForm.method = 'POST';
                document.newUserForm.action = '../../index.php';
                document.newUserForm.submit();
            }
        </script>
    </head>
    <body>
        <?php
        session_start();
        if (isset($_SESSION['re-register'])) {
            include("../../logic/session_message.php"); 
        }
        ?>
        <form name="newUserForm" id="newUserForm">
        <table border="0" width="100%" height="100%">
            <tr valign="middle">
                <td align="center">
                    
                    <table border="0" cellpadding="2" cellspacing="0">
                        <tr>
                            <td>
                                <table border="0" cellpadding="5" cellspacing="0">
                                    <tr class="tbl-header"><td colspan="3">DAFTAR</td></tr>
                                    <tr class="tbl-body">
                                        <td>Nama</td>
                                        <td>&nbsp;:&nbsp;</td>
                                        <td><input type="text" name="txtNama" id="txtNama" size="50" maxlength="30"></td>
                                    </tr>
                                    <tr class="tbl-body">
                                        <td>Alamat</td>
                                        <td>&nbsp;:&nbsp;</td>
                                        <td><input type="text" name="txtAlamat" id="txtAlamat" size="50" maxlength="255"></td>
                                    </tr>
                                    <tr class="tbl-body">
                                        <td>Kota</td>
                                        <td>&nbsp;:&nbsp;</td>
                                        <td><input type="text" name="txtKota" id="txtKota" size="50" maxlength="30"></td>
                                    </tr>
                                    <tr class="tbl-body">
                                        <td>Propinsi</td>
                                        <td>&nbsp;:&nbsp;</td>
                                        <td><input type="text" name="txtPropinsi" id="txtPropinsi" size="50" maxlength="30"></td>
                                    </tr>
                                    <tr class="tbl-body">
                                        <td>Negara</td>
                                        <td>&nbsp;:&nbsp;</td>
                                        <td><input type="text" name="txtNegara" id="txtNegara" size="50" maxlength="30"></td>
                                    </tr>
                                    <tr class="tbl-body">
                                        <td>Kode&nbsp;Pos</td>
                                        <td>&nbsp;:&nbsp;</td>
                                        <td><input type="text" name="txtKodePos" id="txtKodePos" size="50" maxlength="10"></td>
                                    </tr>
                                    <tr class="tbl-body">
                                        <td>No&nbsp;Telp</td>
                                        <td>&nbsp;:&nbsp;</td>
                                        <td><input type="text" name="txtTelp" id="txtTelp" size="50" maxlength="20"></td>
                                    </tr>
                                    <tr class="tbl-body">
                                        <td>Email</td>
                                        <td>&nbsp;:&nbsp;</td>
                                        <td><input type="text" name="txtEmail" id="txtEmail" size="50" maxlength="30"></td>
                                    </tr>
                                    <tr class="tbl-body">
                                        <td>Login&nbsp;ID</td>
                                        <td>&nbsp;:&nbsp;</td>
                                        <td><input type="text" name="txtLoginId" id="txtLoginId" size="50" maxlength="30"></td>
                                    </tr>
                                    <tr class="tbl-body">
                                        <td>Password</td>
                                        <td>&nbsp;:&nbsp;</td>
                                        <td><input type="text" name="txtPassword" id="txtPassword" size="50" maxlength="30"></td>
                                    </tr>
                                    <tr class="tbl-body">
                                        <td colspan="3">
                                            <button type="button" name="btSubmit" id="btSubmit" onclick="fnSubmit()">Submit</button>&nbsp;
                                            <button type="reset" name="btCancel" id="btCancel">Cancel</button>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                        <tr>
                            <td align="center">
                                <button type="button" name="btKembali" id="btKembali" onclick="fnKembali()">Kembali</button>
                            </td>
                        </tr>
                    </table>
                    
                </td>
            </tr>
        </table>    
        </form>
    </body>
</html>
